package com.weyoung.common.model.dto.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
@ApiModel(description = "更新族谱节点请求参数")
public class UpdateRelationNodeDTO {

    @NotNull(message = "关系节点ID不能为空")
    @ApiModelProperty(value = "关系节点ID", required = true)
    private Long relationId;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("父节点ID")
    private Long parentRelationId;

    @ApiModelProperty("辈分")
    private Integer generation;

    @ApiModelProperty("备注")
    private String remarks;
} 